<?php

namespace app\vpn\validate;

use think\Validate;

/**
 * 节点验证器
 */
class Node extends Validate
{
    //定义验证规则
    protected $rule = [
        'class|节点类型' => 'length:1,50',
        // 'remarks|别名' => 'require',
        'address|地址' => 'require',
        'port|端口' => 'require',
    ];
    //定义验证提示
    protected $message = [];
    //定义验证场景
    protected $scene = [];
}
